package com.btex.app.entity;

import java.util.List;

/**
 * @author zy zhangyi <zhangyi, 1104745049@QQ.com
 * @version v1.0
 * @project study1
 * @Description
 * @encoding UTF-8
 * @date 2018/10/22
 * @time 下午4:23
 * @修改记录 <pre>
 * 版本       修改人         修改时间         修改内容描述
 * --------------------------------------------------
 * <p>
 * --------------------------------------------------
 * </pre>
 */

public class FuturesAccountListsInfo {

    /**
     * code : 1
     * data : [{"type":"cash","type_info":"现货账户","balance":[{"symbol":"BT","balance":0},{"symbol":"BTC","balance":1422},{"symbol":"BTEX","balance":0},{"symbol":"DOGE","balance":0},{"symbol":"ETH","balance":0},{"symbol":"GUSD","balance":0},{"symbol":"TCO","balance":0},{"symbol":"TYD","balance":0},{"symbol":"USDT","balance":0},{"symbol":"XRP","balance":0}]},{"type":"mx","type_info":"期货账户","balance":[{"symbol":"BTC","balance":560.96102448},{"symbol":"ETH","balance":0},{"symbol":"BCH","balance":0},{"symbol":"ETC","balance":0},{"symbol":"LTC","balance":0},{"symbol":"USD","balance":0}]}]
     * info :
     */

    private int code;
    private String info;
    private List<DataBean> data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * type : cash
         * type_info : 现货账户
         * balance : [{"symbol":"BT","balance":0},{"symbol":"BTC","balance":1422},{"symbol":"BTEX","balance":0},{"symbol":"DOGE","balance":0},{"symbol":"ETH","balance":0},{"symbol":"GUSD","balance":0},{"symbol":"TCO","balance":0},{"symbol":"TYD","balance":0},{"symbol":"USDT","balance":0},{"symbol":"XRP","balance":0}]
         */

        private String type;
        private String type_info;
        private List<BalanceBean> balance;

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public String getType_info() {
            return type_info;
        }

        public void setType_info(String type_info) {
            this.type_info = type_info;
        }

        public List<BalanceBean> getBalance() {
            return balance;
        }

        public void setBalance(List<BalanceBean> balance) {
            this.balance = balance;
        }

        public static class BalanceBean {
            /**
             * symbol : BT
             * balance : 0
             */

            private String symbol;
            private double balance;

            public String getSymbol() {
                return symbol;
            }

            public void setSymbol(String symbol) {
                this.symbol = symbol;
            }

            public double getBalance() {
                return balance;
            }

            public void setBalance(double balance) {
                this.balance = balance;
            }
        }
    }
}
